#ifndef _GRAPH_H_
#define _GRAPH_H_

#include <stdlib.h>

/* Structure definitions */

struct edge 
{
  unsigned char vs; // source vertex
  unsigned char vt; // target vertex
};
struct graph 
{
  struct edge edges[256 * 256]; // array of edges
  size_t size;                  // number of edges
};

/* Function prototypes */

int reachability(struct graph const * G, unsigned char v0, unsigned char vf);



#endif
